/********************************************************************************
 * Copyright(c) 2023-2030 BLACK SESAME All rights reserved.
 * - Filename
 * - Author  Vincent
 * - Version V1.0.0
 * - Date    2023/11/02
 * - Brief
 * - FunctionList:
 ******************************************************************************
 * History:
 *
 *
 *
 ******************************************************************************
 */
#pragma once

#include <unistd.h>
#include <sys/syscall.h>
#include <string>
/* parma define describe -----------------------------------------------------*/
/* class describe -----------------------------------------------------*/

#ifndef LOG_TAG
#define LOG_TAG "[DhopReplay]"
#endif
  std::string get_stime(void);
#define BLOGE(format, ...) printf("%s %d  [E] " LOG_TAG ": " format "\n", get_stime().c_str(), getpid(), ##__VA_ARGS__)
#define BLOGI(format, ...) printf("%s %d  [I] " LOG_TAG ": " format "\n", get_stime().c_str(), getpid(), ##__VA_ARGS__)
#define BLOGD(format, ...) printf("%s %d  [D] " LOG_TAG ": " format "\n", get_stime().c_str(), getpid(), ##__VA_ARGS__)

#define LOGE(...) BLOGE(__VA_ARGS__)
#define LOGI(...) BLOGI(__VA_ARGS__)
#define LOGD(...) BLOGD(__VA_ARGS__)

  /************************ (.h) END OF FILE ************************************/